package com.demo.controller2;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class PageController {

    @RequestMapping("/page/jsp")
   public String pageJsp() {
       return "hello";
   }
    @RequestMapping("/page/ftl")
    public String pageFreemarker() {
        return "myhello";
    }

    @RequestMapping("/page/jsp2")
    public String pageJsp2() {
        return "hello2";
    }
}
